def checkForGbaa(last_card, card_indeces, hand, cards_left, dry_cards, lead_player, current_player, is_standby):
  first_index = card_indeces[0]
  if not last_card or current_player == lead_player:
    return
  if hand[first_index].suit == last_card.suit:
    return None
  total_cards = []
  total_cards.extend(dry_cards)
  total_cards.extend(cards_left)
  total_cards = [card for card in total_cards if card]
  for card in total_cards:
    if card and card.suit == last_card.suit:
      return 'You must play a card of suit: %s' % str(card.suit).capitalize()
  if not is_standby and not hand[first_index] in total_cards:
    return 'You have already played this card: %s' % str(hand[first_index]).capitalize()
